// Created by zyq on 2025/3/27.
#include "iostream"
using namespace std;

class ThinPerson{

    public:
    void head(){
        cout<<"thin-head"<<endl;
    }
    void body(){
        cout<<"thin-body"<<endl;
    }
    void foot(){
        cout<<"thin-foot"<<endl;
    }
};

class FatPerson{
    public:
    void head(){
        cout<<"fat-head"<<endl;
    }
    void body(){
        cout<<"fat-body"<<endl;
    }
    void foot(){
        cout<<"fat-foot"<<endl;
    }
};

int main(){
    ThinPerson *thinPerson = new ThinPerson();
    thinPerson->head();
    thinPerson->body();
    thinPerson->foot();

    FatPerson *fatPerson = new FatPerson();
    fatPerson->head();
    fatPerson->body();
    fatPerson->foot();

}